ANativeWindow_Buffer.stride

The number of *pixels* that a line in the buffer takes in memory. This may be >= width.

struct ANativeWindow_Buffer
int32_t stride;

Meta